package com.xlh.virtualization.dao;

import com.xlh.virtualization.domain.ImageAllocation;
import com.xlh.virtualization.domain.example.ImageAllocationExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ImageAllocationMapper {
    long countByExample(ImageAllocationExample example);

    int deleteByExample(ImageAllocationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ImageAllocation record);

    int insertSelective(ImageAllocation record);

    List<ImageAllocation> selectByExample(ImageAllocationExample example);

    ImageAllocation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ImageAllocation record, @Param("example") ImageAllocationExample example);

    int updateByExample(@Param("record") ImageAllocation record, @Param("example") ImageAllocationExample example);

    int updateByPrimaryKeySelective(ImageAllocation record);

    int updateByPrimaryKey(ImageAllocation record);
}